﻿using System;
using System.Security.Cryptography;


namespace BankApplication.BusinessLogic.Security
{
    [Serializable]
    public struct RSAPrivateKey
    {
        public RSAPrivateKey(RSAParameters rsaKeys)
        {
            D = rsaKeys.D;
            DP = rsaKeys.DP;
            DQ = rsaKeys.DQ;
            InverseQ = rsaKeys.InverseQ;
            P = rsaKeys.P;
            Q = rsaKeys.Q;
            Exponent = rsaKeys.Exponent;
            Modulus = rsaKeys.Modulus;
        }

        byte[] D;
        byte[] DP;
        byte[] DQ;
        byte[] InverseQ;
        byte[] P;
        byte[] Q;
        byte[] Exponent;
        byte[] Modulus;
    }
}
